]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
scroll-view-fade: Remove explicit GLSL version
authorAdel Gadllah <adel.gadllah@gmail.com>
Tue, 5 Feb 2013 19:32:08 +0000 (20:32 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Tue, 5 Feb 2013 19:32:08 +0000 (20:32 +0100)
Cogl sets this for us since commit 2701b93f159bf2d3387cedf2d06fe921ad5641f3.

Setting it twice is illegal and causes compile failures:
error C0204: version directive must be first statement and may not be repeated.

src/st/st-scroll-view-fade.glsl

index 91764a4668a6005d5ea712e79c11e377412bca6a..4e8ec6a1f88e33a94ad596bfdf2ca37305512f99 100644 (file)
@@ -17,8 +17,6 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-#version 120
-
 uniform sampler2D tex;
 uniform float height;
 uniform float width;